package com.shen.pojo.teacher;

/**
 * Author:shen
 * CreateDate:2020/5/12.
 * Function:
 */
public class Teacher {
    public String name;
    public String subject;

    /**
     * 自我介绍
     */
    public void introduceSelf(){
        System.out.println("我是："+name+"教授："+subject);
    }
    /**
     * 上课
     */
    public void teachingStudent(){
        System.out.println(name+"正在上："+subject);
    }
}
